package com.wmh.baseservice.admin.pojo.vo.permission;

import lombok.Data;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * @author 谢骏
 * @date 2023/11/7 11:16
 * 给角色分配任务权限请求实体
 **/
@Data
@Accessors(chain = true)
public class AssignRoleRobotTaskReqVO {

    @NotNull(message = "未提交 角色编号")
    private Long roleId;

    @NotNull(message = "未提交 任务编号")
    @NotEmpty(message = "至少提交 一个任务编号")
    private List<Long> taskIds;
}
